package main

func main()  {
	
}

type listnodes struct {
	val int
	next *listnodes
}

func testxj(left , right *listnodes)  *listnodes {
	cur := &listnodes{}
	a := cur
	s :=0
	for left != nil || right != nil {
		n :=s
		if left != nil {
			n +=left.val
			left = left.next
		}
		if right != nil {
			n +=right.val
			right = right.next
		}
		s = n/10
		
		cur.next = &listnodes{
			val:  s % 10,
		}
		cur = cur.next
	}
	return a.next
}